home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global whatSpeed, whatFactor, frameLoop
- if frameLoop = 0 then
- set whatSpeed to whatSpeed + (whatFactor + 400)
- end if
- if (the timer < whatSpeed) and (the volume of sound 2 < 250) then
- set frameLoop to 1
- go(the frame)
- else
- resetTimer()
- set frameLoop to 0
- go(the frame + 1)
- end if
- end
-